package org.dczl.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.dczl.system.domain.DpProject;
import org.dczl.system.domain.vo.DpProjectVo;
import org.dczl.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 项目Mapper接口
 *
 * @author jia
 * @date 2025-04-16
 */
public interface DpProjectMapper extends BaseMapperPlus<DpProject, DpProjectVo> {

    @Select("select sum(pitch_num) from dp_project ${ew.customSqlSegment}")
    Long getCount(@Param(Constants.WRAPPER) Wrapper<DpProject> queryWrapper);

}
